package edu.cuc.chap04.demo01;

public class MoAttack implements ActorArrangable{
    //接口注入
    public void injectGeLi(GeLi geLi) {
        this.geLi = geLi;
    }

    private GeLi geLi;
    //构造函数注入
    public MoAttack(GeLi geLi) {
        this.geLi = geLi;
    }

    public MoAttack() {
    }
    //属性注入
    public void setGeLi(GeLi geLi) {
        this.geLi = geLi;
    }

    public void CityGateAsk(){
        geLi.responseAsk("墨者隔离");
    }

}
